package cqrtplm.service;

import com.github.pagehelper.PageInfo;
import com.ty.basic.response.ResponseResult;
import cqrtplm.dto.KnowledgePushDTO;
import cqrtplm.dto.RTAttributeCardDTO;
import cqrtplm.dto.RtCustomerNodeInfoDTO;
import cqrtplm.entity.RtCustomerNodeInfoDO;

import javax.servlet.http.HttpServletResponse;
import java.math.BigInteger;
import java.util.List;
import java.util.Map;

public interface RTKnowledgePushService {
    ResponseResult<RtCustomerNodeInfoDO> addKnowledgeInfo(RtCustomerNodeInfoDTO customerNodeInfoDTO);

    void updateKnowledgeInfo(RtCustomerNodeInfoDTO customerNodeInfoDTO);

    void batchDeleteKnowledgeInfo(List<String> oids);

    PageInfo<RtCustomerNodeInfoDTO> searchTextByCustomer(String customer, int pageNum, int pageSize);

    PageInfo<RtCustomerNodeInfoDTO> searchFileByCustomer(String customer, int pageNum, int pageSize);

    ResponseResult searchStatusText(String oid,String currentFlowName);

    ResponseResult<byte[]> downloadFilesAsZip(String oid,String currentFlowName);
}
